import Vue from 'vue';
import Vuex from 'vuex';
import * as mutations from './mutations';
import * as actions from './actions';
import * as getters from './getters';
import * as list from './list';
import * as request from './request';
Vue.use(Vuex);
export default new Vuex.Store({
  state: {
    marketing: { // 营销
      CarouselItems: [], // 轮播图
      activity: [] // 活动
    },
  },
  computer: {}, // 电脑专栏
  userInfo: { // 用户信息
    username: ''
  },
  actions,
  mutations,
  getters,
  list,
  request
});
